<?php

class Admin extends Controller{

    function Admin() 
    {
        parent::Controller();
    }
    
    function index()
    {
        $this->session->set_flashdata('redir',$this->session->flashdata('redir'));
        redirect('admin/login');
    }
    
    function login()
    {   
        $output="";
        $output['redirUrl']=site_url($this->session->flashdata('redir'));
        $this->load->view('admin/login.html.php',$output);
    }
    
    function editconfig()
    {
    
    }
    
    function doeditconfig()
    {
    
    }
    
    function editusers()
    {
    
    }
    
    function doeditusers()
    {
    
    }

} 
?>
